package io.gitee.yxsnake.mybatis.plus.configuration.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
 * @author snake
 * @description
 * @since 2024/10/15 23:47
 */
@Data
@Component
@ConfigurationProperties(prefix = "mybatis-plus.ext")
public class MybatisPlusExtProperties {
    /**
     * {@link com.baomidou.mybatisplus.annotation.DbType}
     */
    private String dbType = "mysql";
    /**
     * 单页分页条数限制
     */
    private Long maxLimit = 1500L;
    /**
     * 是否开启非法sql拦截校验
     */
    private Boolean illegalEnabled = true;
    /**
     * 是否开启  防止全表更新删除
     */
    private Boolean blockAttackEnabled = true;



}
